package com.psp.web.persist.dao;

import java.util.List;
import java.util.Set;

import com.psp.web.model.InvoiceHeaderBean;

public interface InvoiceHeaderDao {

	InvoiceHeaderBean selectById(String id);

	InvoiceHeaderBean selectById(String id, String uid);

	/**
	 * 通过发票头信息id数组，批量查询
	 * 
	 * @param ids
	 * @return
	 */
	List<InvoiceHeaderBean> selectByIds(Set<String> ids);

	int deleteById(String id, String uid);

	int insert(InvoiceHeaderBean bean);

	int update(InvoiceHeaderBean bean);

	int selectCount(String uid);

	List<InvoiceHeaderBean> selectList(int page, int pageSize, String uid);

}
